import datetime

expired_at='2020-12-15T16:00:00.000Z'
expired_time_stamp = datetime.datetime.strptime(expired_at, '%Y-%m-%dT%H:%M:%S.000Z')
print(type(expired_time_stamp.date()))
print(expired_time_stamp)